#ifndef CREATETABLE_H
#define CREATETABLE_H
#include "quickcalculation.h"
#include <stdio.h>
#include <stdlib.h>
#include "struct.h"
#include <string.h>
#include <stdint.h>
#include <conio.h>

#include <iostream>
#include <sstream>
#include <iomanip>

using namespace std;

class CreateTable : public QuickCalculation
{
    public:
        CreateTable();
        ~CreateTable();
        bool InputWeightSteps(int& iSteps, int& iEndweight, int iWeight);
        void CreateQueteletIndexTable(string const& sName, struct UserData& data, int Steps, int LastCalWeight);
        int InputUserDataFromFile(struct UserData& data, string& sName);

    private:
        void savetofile(string sSavedArray, int i);
        void savetofile(string sSaveString);
};

#endif // CREATETABLE_H
